package com.travelshare.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.travelshare.common.annotation.Excel;
import com.travelshare.common.core.domain.BaseEntity;

/**
 * 用户点赞量统计对象 tb_data_count
 * 
 * @author travelshare
 * @date 2024-03-29
 */
public class DataCount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long keyId;

    /** $column.columnComment */
    private Long userId;

    /** 0：评论，1：旅行社区 */
    private Integer keyType;

    public void setKeyId(Long keyId) 
    {
        this.keyId = keyId;
    }

    public Long getKeyId() 
    {
        return keyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setKeyType(Integer keyType) 
    {
        this.keyType = keyType;
    }

    public Integer getKeyType() 
    {
        return keyType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("keyId", getKeyId())
            .append("userId", getUserId())
            .append("keyType", getKeyType())
            .toString();
    }
}
